package cn.lnexin;

import cn.lnexin.server.NettyServer;

public class IPRunning {
	
	public static boolean isSSL;
	
	public static void main2(String[] args) {
		if (args.length > 0) {
			for (String p : args) {
				startServer(Integer.valueOf(p));
			}
			isSSL = true;
		} else {
			startServer(8899);
		}
	}
	
	public static void main(String[] args) {
		startServer(7777);
	}
	public static void startServer(int port) {
		new NettyServer(port).start();
		System.out.println("port is start complete:" + port);
	}
	
	//http://blog.csdn.net/wh0426/article/details/45749305
}
